package com.superteam.mac.web.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.superteam.mac.base.web.action.BaseAction;
import com.superteam.mac.mode.Syspara;

public class SysparaAction extends BaseAction {

	public ActionForward getSyspara(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		Syspara sys = super.getSysParaService().findSyspara();
		request.setAttribute("sys", sys);
		return mapping.findForward("success");
	}
}
